How can I merge Python dictionaries by key and update their values

welcome to shbcf.ru